package com.boss.core.manage;

import org.kohsuke.stapler.DataBoundConstructor;

/**
 * Configuration Parameter
 * @author Momin Noor Khan
 */
public class ConfigParam {
    private String name;
    private String value;
    private String description;
    private String kind;

    @DataBoundConstructor
    public ConfigParam(String name, String value, String description, String kind) {
        this.name = name != null ? name : "";
        this.value = value != null ? value : "";
        this.description = description != null ? description : "";
        this.kind = kind != null ? kind : "";
    }

    public String getName() {
        return this.name;
    }

    public String getValue() {
        return this.value;
    }

    public String getDescription() {
        return this.description;
    }

    public String getKind() {
        return this.kind;
    }
}
